#include "stdio.h"

void print_field(char field[3][3]){
	printf("╔═══╦═══╦═══╗\n");
	printf("║ %c ║ %c ║ %c ║\n", field[0][0], field[0][1], field[0][2]);
	printf("╠═══╬═══╬═══╣\n");
	printf("║ %c ║ %c ║ %c ║\n", field[1][0], field[1][1], field[1][2]);
	printf("╠═══╬═══╬═══╣\n");
	printf("║ %c ║ %c ║ %c ║\n", field[2][0], field[2][1], field[2][2]);
	printf("╚═══╩═══╩═══╝\n");
}

void print_board(int winner, int score[3]){
	printf("[X]: \t %d %c\n", score[0], (winner == -1 ? '<' : ' '));
	printf("[0]: \t %d %c\n", score[1], (winner == 1 ? '<' : ' '));
	printf("[Ничья]: %d %c\n", score[2], (winner == 0 ? '<' : ' '));
}
